<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset="utf-8">
<title>脚本库 | 脚本库列表</title>
<@fm.header />
</style>
<script type="text/javascript" src="/resources/js/script/scriptRepoList.js"></script>
</head>
<body class="cmp-list-body">
	<div id="tb" style="padding:3px">
    	<span>名称:</span>
		<input name="name" id="name" class="easyui-textbox" style="width: 155px;" />
		
    	<a href="#" class="easyui-linkbutton" iconCls="icon-search" plain="true" onclick="doSearch();">查询</a> 
    	<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-add" plain="true" onclick="javascript:add()">新增</a>
    	<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-edit" plain="true" onclick="javascript:edit()">编辑</a>
	</div>
	
	<div id="mainPanle" region="center" border="false">
		<table id="tt" class="easyui-datagrid" title="脚本库管理" iconCls="icon-save" toolbar="#tb" rownumbers="true" idField="id"
			url="/script/scriptRepoListJson" singleSelect="true" pagination="true" fitColumns="true" pageSize="15" pageList="[15,30,60,80,100]"> 
		    <thead>		    
		    	<tr>
		        	<th align="center" width="40%" field="name">脚本库</th>
		        	<!-- <th align="center" width="30%" field="isEnable" formatter="formatEnable">状态</th>-->
		            <th align="center" width="30%" field="operation" formatter="formatOperation">操作</th>
		        </tr>
		    </thead>   
		</table>
	</div>
	
</body>

</html>